#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>

void vuln(char *string)
{
	volatile int target;
	char buffer[64];

	target = 0;

	sprintf(buffer, string);
	printf("target:%X\n", target);
	if(target == 0xdeadbeef) {
		printf("you have hit the target correctly :)\n");
	}
}

int main(int argc, char **argv)
{
	vuln(argv[1]);
}
